num = 9
if num >= 0 and num <= 10 :
    print("(1)Happy")
num = 12
if num < 0 or num > 10 :
    print("(2)Happy")
else :
    print("(2)Unhappy")
num = 8
if (num >= 0 and num <= 5) or (num >= 10 and num <=15) :
    print("(3)Happy")
else :
    print("(3)Unhappy")
